package com.qy139.auth.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qy139.entity.TabUser;
import com.qy139.entity.UserLeave;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yuhaochen
 * @since 2021-12-11
 */
public interface UserLeaveMapper extends BaseMapper<UserLeave> {
    IPage<UserLeave> selectAllLeave(Page<UserLeave> page,@Param("user") TabUser user);
}
